package com.hp.ssmp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.ssmp.entity.TNews;

import java.util.List;

public interface NewsService extends IService<TNews> {
    public List<TNews> getPromotionNews(Long type, Long count);
    public Page<TNews> getNewsPage(Integer currentPage, Integer pageSize,  Long newstype);
}
